package cn.edu.scau.vsac.service;

import cn.edu.scau.vsac.domain.dto.HelpOfferDto;
import cn.edu.scau.vsac.entity.HelpOffer;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 我要帮扶表（help_offer）(HelpOffer)表服务接口
 *
 * @author makejava
 * @since 2023-08-05 20:12:18
 */
public interface HelpOfferService extends IService<HelpOffer> {

    HelpOffer getOneById(Long id);

    String deleteById(Long id);

    HelpOffer create(HelpOfferDto helpOfferDto);

    List<HelpOffer> getPageByHelperId(Long helperId);

    HelpOffer getByRequestId(Long requestId);
}

